package com.cmsz.walle.domain.core;

import java.util.List;

import com.cmsz.walle.domain.DeployInfo;
import com.cmsz.walle.domain.HostInfo;
import com.cmsz.walle.domain.ModulInfo;
import com.cmsz.walle.domain.SystemInfo;

public interface Access {
	
	// 主机信息相关
	void register(HostInfo hostinfo) throws Exception;
	List<HostInfo> getHostsInfo() throws Exception;
	
	// 系统信息相关
	void add(SystemInfo systeminfo) throws Exception;
	void update(SystemInfo systeminfo) throws Exception;
	List<SystemInfo> getSystemsInfo() throws Exception;
	
	// 模块信息
	void add(ModulInfo modulinfo) throws Exception;
	void update(ModulInfo modulinfo) throws Exception;
	List<ModulInfo> getModulsInfo(String sysname) throws Exception;
	
	// 部署信息
	void add(DeployInfo deployinfo) throws Exception;
	void delete(DeployInfo deployinfo) throws Exception;
	List<DeployInfo> getDeploysInfo() throws Exception;
	
}
